package com.mobai.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author Administrator
 * @version v1.0
 * @className Order
 * @description
 * @date 2024/5/9 星期四 17:34
 **/
@Data
@TableName("order_m")
public class Order {

    @TableId(type = IdType.AUTO, value = "order_id")
    private long orderId;

    @TableField("user_id")
    private int userId;

    @TableField("product_name")
    private String productName;
}
